package cn.itcast.user.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zongshuaidong
 * @version 1.0.0
 * @ClassName UserProperties.java
 * @Description TODO
 * @createTime 2024年10月26日 16:55:00
 */
@Data
@Component
@ConfigurationProperties(prefix = "user")
public class UserProperties {
    private String name;
    private String test;

    private PatternProperties pattern;

}
